package com.kust.smarthome.web.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.kust.smarthome.web.model.Notice;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author iAuzre
 * @since 2021-07-06
 */
public interface INoticeService extends IService<Notice> {

    List<Notice> getState0ByUser(Integer userId);

    List<Notice> queryMessage2(Integer typeId,Integer deviceId);

    List<Notice> queryMessage1(Integer userId);

    void updateState(Integer userId, Integer typeId, Integer deviceId);
}
